package com.cn.xiaonuo.tcrfinance.payconfig.service;


import com.cn.xiaonuo.common.entity.BusinessMessage;
import com.cn.xiaonuo.tcrfinance.payconfig.entity.PayChannel;
import com.cn.xiaonuo.tcrfinance.payconfig.param.PayChannelParam;

public interface PayChannelService {


    BusinessMessage pagePayChannel(PayChannelParam param);

    BusinessMessage addPayChannel(PayChannel param);

    BusinessMessage updatePayChannel(PayChannel param);

    /**
     * 删除支付渠道
     * @param id
     * @return
     */
    BusinessMessage deletePayChannel(Integer id);

    /**
     * 支付渠道详情
     * @param id
     * @return
     */
    BusinessMessage payChannelDetail(Integer id);

    /**
     * 支付渠道状态修改
     * @param param
     * @return
     */
    BusinessMessage updatePayChannelState(PayChannelParam param);
}
